package com.qst.service.impl;

import com.qst.dao.TeacherMapper;
import com.qst.po.Teacher;
import com.qst.service.ITeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherServiceImpl implements ITeacherService {
    @Autowired
    private TeacherMapper teacherMapper;
    @Override
    public Teacher login(String name, String password) {
        return teacherMapper.login(name,password);
    }
}
